Apart
Apart[expr] rewrites a rational expression as a sum of terms with minimal denominators.
Apart[expr,var] treats all variables other than var as constants.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.